import { service } from "@/utils/http";

export const get = (url, params) => {
  return service({
    url: url,
    method: "GET",
    params: params,
  });
};
export const post = (url, params) => {
  return service({
    url: url,
    method: "POST",
    data: params,
  });
};
